<template name="channel_settings_panel">
  <div class="p-3">
    {{#if isMember}}
      <button type="button" class="btn btn-outline-primary btn-block" id="quit-channel">退出频道</button>
    {{/if}}
    {{#if isOwner}}
      <button type="button" class="btn btn-outline-danger btn-block" id="delete-channel">删除频道</button>
    {{/if}}
  </div>
</template>